<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/statics/css/sapar.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath }/statics/css/common.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath }/statics/css/my_order.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath }/statics/css/bootstrap.min.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/jquery.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/sapar.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/WdatePicker.js"></script>
<title>我的订单</title>
</head>

<body>
	<div id="saper-container">
		<div id="saper-hd"></div>
		<div id="saper-bd">
			<div class="subfiled clearfix">
				<h2>销售产品列表</h2>
			</div>
			<div class="subfiled-content">
				<form name="f1" id="f1"
					action="?m=system&amp;c=myInfo&amp;a=updateInfo&amp;type=1"
					method="post">
					<div class="search-box clearfix">
						<div class="kv-item">
							<a href="#mymodal" class="btn btn-primary" data-toggle="modal">添加销售单</a>
						</div>
						<div class="kv-item clearfix">
							<label>订单号：</label>
							<div class="kv-item-content">
								<input type="text" placeholder="订单号" />
							</div>
						</div>
						<div class="kv-item clearfix">
							<label>创建日期：</label>
							<div class="kv-item-content time-select-wrap">
								<div class="time-select">
									<input type="text"
										onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="" />
									<i class="date-icon"></i>
								</div>
								<span class="line">-</span>
								<div class="time-select">
									<input type="text"
										onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="" />
									<i class="date-icon"></i>
								</div>
							</div>
						</div>
						<div class="kv-item">
							<a href="javascript:;"
								class="sapar-btn sapar-btn-recom query-btn">查询</a>
						</div>
					</div>
				</form>
				<!--表格开始-->
				<div class="table">

					<!--表格具体内容-->
					<div class="table-box">

						<table>
							<thead>
								<tr>
									<th>序号</th>
									<th>品牌</th>
									<th>型号</th>
									<th>商品名称</th>
									<th>单价</th>
									<th>数量</th>
									<th>销售额(元)</th>
									<th>进货额(元)</th>
									<th>盈利额(元)</th>
								</tr>
							</thead>
							<tbody>
								<tr class="no-data">
									<td colspan="10">暂时没有数据</td>
								</tr>
								<tr>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
								</tr>
								<tr style="background-color: #EFF6FA;">
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td></td>
								</tr>
								<tr style="background-color: #EFF6FA;">
									<td>销售总额</td>
									<td colspan="2"><input type="text" placeholder="销售总额" /></td>
									<td>进货总额</td>
									<td colspan="2"><input type="text" placeholder="进货总额" /></td>
									<td>盈利总额</td>
									<td colspan="2"><input type="text" placeholder="盈利总额" /></td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<!--表格结束-->
			</div>
		</div>
		<div id="saper-ft"></div>
	</div>

	<!--弹出的模态框-->
	<div id="mymodal" class="modal fade">
		<!-- modal固定布局，上下左右都是0表示充满全屏，支持移动设备上使用触摸方式进行滚动。。-->
		<div class="modal-dialog modal-dialog">
			<!-- modal-dialog默认相对定位，自适应宽度，大于768px时宽度600，居中-->
			<div class="modal-content">
				<form action="" method="post" enctype="multipart/form-data">
					<!-- modal-content模态框的边框、边距、背景色、阴影效果。-->
					<div class="modal-header">
						<button class="close" data-dismiss="modal">&times;</button>
						<center>
							<h3 class="modal-title">添加销售单详情</h3>
						</center>
					</div>
					<div class="media-body">
						<div class="addjiejidan">
							<center>
								<table bordercolor="lightgray" border="2">
									<tr align="right">
										<td>客户名称</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td>联系电话</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td>客户名称</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td>联系电话</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td>联系电话</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td>客户名称</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td>联系电话</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td>客户名称</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<tr align="right">
										<td><input type="submit" class="form-control" value="保存" /></td>
										<td><input type="reset" class="form-control" value="取消" /></td>
									</tr>
								</table>
							</center>
						</div>
					</div>
					<div class="modal-footer">
						<button class="btn btn-default" data-dismiss="modal">关闭</button>
						<button class="btn btn-primary">保存</button>
					</div>
				</form>
			</div>
		</div>

	</div>

	<!--弹出的模态框-->
	<div id="mymodal2" class="modal fade">
		<!-- modal固定布局，上下左右都是0表示充满全屏，支持移动设备上使用触摸方式进行滚动。。-->
		<div class="modal-dialog modal-dialog">
			<!-- modal-dialog默认相对定位，自适应宽度，大于768px时宽度600，居中-->
			<div class="modal-content">
				<form action="" method="post" enctype="multipart/form-data">
					<!-- modal-content模态框的边框、边距、背景色、阴影效果。-->
					<div class="modal-header">
						<button class="close" data-dismiss="modal">&times;</button>
						<center>
							<h3 class="modal-title">修改销售单</h3>
						</center>
					</div>
					<div class="media-body">
						<div class="addjiejidan">
							<center>
								<table bordercolor="lightgray" border="2">
									<tr align="right">
										<td>业务人员</td>
										<td><select class="form-control">
												<option value="-1">请选择</option>
												<option value="0">李小飞</option>
												<option value="1">黄小琥</option>
												<option value="2">宋晓江</option>
										</select></td>
									</tr>
									<tr>
										<td>填单日期</td>
										<td>
											<div class="time-select">
												<input type="text"
													onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
													placeholder=""> <i class="date-icon"></i>
											</div>
										</td>
									</tr>
									<tr>
										<td>商品品牌</td>
										<td><select class="form-control">
												<option value="-1">请选择</option>
												<option value="0">小米</option>
												<option value="1">华为</option>
												<option value="2">苹果</option>
										</select></td>
									</tr>
									<tr align="right">
										<td>商品名称</td>
										<td><input type="text" class="form-control" /></td>
									</tr>
									<td>规格/型号</td>
									<td><input type="text" class="form-control" /></td>
									</tr>
									</tr>
									<td>数量</td>
									<td><input type="text" class="form-control" /></td>
									</tr>
									</tr>
									<td>售价</td>
									<td><input type="text" class="form-control" /></td>
									</tr>
									</tr>
									<td>销售日期</td>
									<td><input type="text" class="form-control" /></td>
									</tr>
								</table>
							</center>
						</div>
					</div>
					<div class="modal-footer">
						<button class="btn btn-default" data-dismiss="modal">关闭</button>
						<button class="btn btn-primary">保存</button>
					</div>
				</form>
			</div>
		</div>

	</div>
</body>
<script type="text/javascript"
	src='${pageContext.request.contextPath }/statics/js/jquery-1.12.4.js'></script>
<script type="text/javascript"
	src='${pageContext.request.contextPath }/statics/js/bootstrap.js'></script>
<script type="text/javascript">
	$('select').iSelect();
</script>

</html>